package com.amoyt.project.mapper;

import com.amoyt.project.domain.bo.HouseholdBo;
import com.amoyt.project.domain.dto.query.PovertyHouseholdPageQuery;
import com.amoyt.project.domain.pojo.HouseholdBase;
import com.amoyt.project.domain.vo.HouseholdVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 贫困户基本信息表（家庭级） Mapper 接口
 * </p>
 *
 * @author AmoyT
 * @since 2025-08-21
 */
@Mapper
public interface PovertyHouseholdBaseMapper extends BaseMapper<HouseholdBase> {

    /**
     * 贫困户信息列表
     * @param page
     * @param query
     * @return
     */
    IPage<HouseholdBo> queryHouseholdList(@Param("page") Page<HouseholdBo> page, @Param("query") PovertyHouseholdPageQuery query);
}
